body{
  font-size:0.12rem;
  margin-top:0.6rem;
  .fr{
    float:right;
  }
  .fl{
    float:left;
  }
}
.header{
  position:fixed;
  top:0;
  z-index:999;
  width:100%;
  border-top:1px solid red;
  border-bottom:1px solid #eee;
  background:#fff;
}
.wrap{
  width:70%;
  margin:0 auto;
}
.navbar{
  display: flex;
  align-items: center;
  .logo{
    width:1.2rem;
    height:0.57rem;

    img{
      width:0.88rem;
      height:0.34rem;
      margin-top:0.115rem;
    }
  }
  .navbar-ul{
    display: flex;
    width:6.7rem;
    height:0.57rem;
    font-size:0.14rem;
    li{
      &.open a{
        color:red;
      }
      text-align:center;
      width:6.7rem/8;
      height:0.57rem;
      line-height:0.57rem;
      a{
        display: block;
        &:hover{
          color:red;
        }
      }
    }

  }
  .login{
    position:absolute;
    right:2rem;
    display: flex;
    align-items: center;
    font-size:0.14rem;
    .search{
      width:0.2rem;
      height:0.2rem;
      margin-right:0.2rem;
      img{
        width:0.2rem;
        height:0.2rem;
        cursor:pointer;
      }
    }
    & > div span{
      padding:0 0.1rem;
    }
  }
}
.top-nav{
  width:100%;
  height:0.5rem;
  background:#fff;
  text-align:center;
  border-bottom:1px solid #eee;
  .top-ul{
    text-align:center;
    display: inline-block;
    margin:auto;
    li{
      display: inline-block;
      margin: 0px 0.25rem;
      line-height: 0.46rem;
      font-size:0.14rem;
      &.open a{
        color:red;
        border-bottom:2px solid red;
      }
      a{
        display: block;
        padding:0 0.1rem;

      }

    }
  }
}
.container{
  position:relative;
  width:100%;
  .state{
    width:100%;
    text-align:center;
    margin:0.2rem auto;
    .state_ul{
      text-align:center;
      display: inline-block;
      width:3.64rem;
      height:0.3rem;
      background:#ddd;
      border-radius:0.5rem;
      li{
        display: inline-block;
        width:24.1%;
        line-height: 0.3rem;
        font-size:0.12rem;
        &.on a{
          color:#000;
          border-radius:0.5rem;
          background:#fff;
        }
        a{
          display: block;
          color:#999;
        }
      }
    }
  }
  .main{
    width:100%;
    .main-box{
      width:100%;
      #main-ul{
        width:100%;
        display: flex;
        flex-wrap:wrap;
        li{
          width:23%;
          height:2.67rem;
          margin-right:2%;
          margin-bottom:2%;
          a{
            display: block;
            //position:relative;
            height:100%;
            overflow:hidden;
            .scroll-cell{
              position:relative;
              .main-img-box{
                height: 1.4rem;
                background: url("https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2701646041,3975227449&fm=26&gp=0.jpg") no-repeat;
                background-size: 100%;
              }
              &:hover .main-desc-box{
                transform:translateY(-40%);
              }
            }
            img{
              display: block;
            }
            .main-desc-box{
              position:absolute;
              top:100%;  //66px
              width:100%;
              transition-duration:0.4s;
              padding:0.12rem;
              background:#fff;
              .hover-box{
                .hover-title{
                  font-size:0.16rem;
                  height: 0.2rem;
                  margin-bottom: 0.14rem;
                  line-height:0.2rem;
                  overflow:hidden;
                  text-overflow:ellipsis;
                  white-space:nowrap;
                }
                .hover-tag{
                  height: 0.2rem;
                  line-height: 0.2rem;
                  margin-bottom: 0.26rem;
                  font-size: 0;
                  .tag-e{
                    height:0.18rem;
                    line-height:0.18rem;
                    padding:0 0.06rem;
                    border:1px solid #ccc;
                    border-radius:0.18rem;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 0.08rem;
                    font-size:0.12rem;
                  }
                  .tag-free{
                    color: #FE6541;
                    border-color: #FE6541;
                  }
                  .tag-discount{
                    color: #55468C;
                    border-color: #55468C;
                  }
                  .tage-common{
                    color: #F5A821;
                    border-color: #F5A821;
                  }
                }
              }
              .hover-number{
                line-height:0.2rem;
                .number-apply{

                }
                .red{
                  color:#fe584d;
                }
                .ft-16{
                  font-size: 0.16rem;
                }
              }
            }

          }
        }
      }
      .hover-hide{
        top:0.2rem;
        border-top:1px solid #ccc;
        color: #b2b2b2;
        display: block;
        height: 0.65rem;
        padding-top: 0.1rem;
        margin-top: 0.1rem;
        .hover-hide-cell{
          font-size:0.12rem;
          line-height:0.22rem;
        }
      }
    }
  }
}

